import java.util.Scanner;

public class ForDemo {
	public static void main(String[] args) {
		int[] a = new int[5];
		int i,j;
		System.out.println("请输入5个学生的成绩");
		Scanner input = new Scanner(System.in);
		for (i=0;i<5;i++){
			a[i]= input.nextInt();
		}
		for(j=0;j<5;j++){
			System.out.println("a["+j+"]="+a[j]);
		}
	}
}
